package com.dy.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 *
 * </p>
 *
 * @author author
 * @since 2024-11-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("user")
@ApiModel(value="User对象", description="")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "用户名称")
    private String name;

    private String password;

    private String phone;

    @ApiModelProperty(value = "抖音号")
    private String number;

    private Integer age;

    private String address;

    @ApiModelProperty(value = "获赞量")
    private Long getThumbsUp;

    @ApiModelProperty(value = "粉丝")
    private Long fans;

    @ApiModelProperty(value = "关注")
    private Long focus;

    private String image;

    private Integer live;

    private BigDecimal doucoin;

    private Integer status;

    private Integer disable;

    @TableField(exist = false)
    private Integer num;

    @TableField(exist = false)
    private String newpassword;

    private Integer clearStatus;

    private String blurb;

    private Integer Integral;
}
